{include file="public/header"}
<div class="page-content">
    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
        <div class="widget am-cf" style=" height: 500px;">
            <a href="{:url('Sclass/listsclass')}">
                <i title="返回" class="iconfont"
                   style="font-size:2.5rem;float: left">&#xe697;</i></a>
                	<form class="stdform" action="{:url('Sclass/doadd')}" method="post">
                        <div class="widget-body">
                            <fieldset>
                                <div class="widget-head am-cf">
                                    <div class="widget-title am-cf">添加二级分类</div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="am-u-sm-3 am-u-lg-2 layui-form-label">分类名称 </label>
                                    <div class="am-u-sm-9">
                                        <input type="text" name="sname" class="layui-input layui-input-inline" placeholder="分类名称" />
                                    </div>
                                </div>

                                <div class="layui-form-item">
                                    <label class="am-u-sm-3 am-u-lg-2 layui-form-label">排序编号</label>
                                    <div class="am-u-sm-9 ">
                                        <input type="text" name="orderno" class="layui-input layui-input-inline" placeholder="排序编号" />
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="am-u-sm-3 am-u-lg-2 layui-form-label">请选择分类</label>
                                    <div class="am-u-sm-9 ">
                                        <select name="pid" id="selection2" class="layui-input layui-input-inline" style="width: 100px">
                                            <!-- <option value="">请选择分类</option> -->
                                            {foreach name="bdata" key="k" item="vo"}
                                                <option value="{$vo.id}">{$vo.bname}</option>
                                            {/foreach}
                                        </select>
                                    </div>
                                </div>

                                <div class="am-form-group stdformbutton">
                                    <div class="am-u-sm-9 am-u-sm-push-3 am-margin-top-lg">
                                        <button type="submit"class="j-submit am-btn am-btn-secondary">提交</button>
                                        <button type="reset" class="am-btn am-btn-default">重置</button>
                                    </div>
                                </div>
                            </fieldset>
                        </div>
                    </form>
                </div>
            </div>
        </div>
<script src="__PUBLIC__/Admin/tpl/static/layui/layui.js" charset="utf-8"></script>
<script>
    //JavaScript代码区域
    layui.use(['element', 'form'], function(){
        var element = layui.element;

    });
</script>
</body>
</html>

